package com.wontube.smr.remote.admin;

import java.util.List;

import com.wontube.core.annotation.NoLoginSupport;
import com.wontube.core.pub.servlet.handlers.BasicHandler;
import com.wontube.smr.dao.bo.GenreSiteDao;
import com.wontube.smr.web.client.admin.IAdminGenreSiteHandler;
import com.wontube.smr.web.client.model.po.GenreSite;

@NoLoginSupport
public class AdminGenreSiteHandler extends BasicHandler implements IAdminGenreSiteHandler {

	@Override
	public List<GenreSite> selectAllGenreSites() {
		return GenreSiteDao.selectAllGenreSites();
	}

	@Override
	public boolean saveOrUpdateGenreSite(GenreSite genreSite) {
		return GenreSiteDao.saveOrUpdateGenreSite(genreSite);
	}

	@Override
	public GenreSite getGenreSiteByPK(String id) {
		return GenreSiteDao.getGenreSiteByPK(id);
	}

	@Override
	public boolean deleteGenreSite(String id) {
		return GenreSiteDao.deleteGenreSite(id);
	}

	@Override
	public boolean updateGenreSiteByPK(GenreSite genreSite) {
		return GenreSiteDao.updateGenreSiteByPK(genreSite);
	}

}
